package com.hu.zhcc.shiro.service;

import com.github.pagehelper.PageInfo;
import com.hu.zhcc.shiro.entity.bo.Emp;
import com.hu.zhcc.shiro.entity.bo.Member;

public interface MemberService {
    //name模糊查询
    PageInfo<Member> getMemberByName(Integer offset, Integer limit,String name);
    //全部查询
    PageInfo<Member> listAllMember(Integer offset, Integer limit);
    //根据id获取
    Member getMember(Integer id);
    //根据档案号获取
    Member getMember(String fileNumber);
    //修改
    int updateMember(Member member);
    //新增
    int addMember(Member member);
    //删除
    int deleteMember(Integer id);
    //根据手机号与密码查询
    Member getMemberByPhoneNumber(String phone,String pwd);
}
